using System;
using System.Data;


namespace IGlobalist.Cms.Model.Common
{
    public class ModelUtils
    {
        public static string ConvertArray2String(object[] datas, char separateChar)
        {
            string result = "";
            foreach (object data in datas)
            {
                if (result.Length == 0)
                {
                    result += data.ToString();
                }
                else
                {
                    result += String.Format("{0}{1}",separateChar, data);
                }
            }
            return result;
        }
    }
}
